LearningStore.ClearSchemaCache Method

Clears the schema cache.

Parent Type: LearningStore

Namespace: Microsoft.LearningComponents.Storage

Assembly: Microsoft.LearningComponents.Storage.dll

Syntax
C#

public static void ClearSchemaCache ()

Remarks

The schema cache is an appdomain-wide cache that maps connection strings to schema information. When a new LearningStore instance is created, the schema information will be read from the cache (rather than from the database) if available. This method clears the cache, which will force schema information to be re-read from the database.